#include "esp_log.h"
#include "esp_err.h"
#include "app.h"

#include "freertos/FreeRTOS.h"
#include "freertos/task.h"

static const char *TAG = "__MAIN__";

extern "C" void app_main()
{
    ESP_LOGI(TAG, "starting app_main");
    APP& app = APP::getInstance();
    app.Start();

    // while (1)
    // {
    //     vTaskDelay(1000 / portTICK_PERIOD_MS);
    //     // ESP_LOGI(TAG, "running app_main");
    // }
}